import axios from "axios"
export default function ajax(url = "", params = {}, type = "get") {
    var promise
    return new Promise((resolve, reject) => {
        if (type == "get") {
            promise = axios.get(url)
        }
    })
}